package com.ynet.middleground.approve.mq;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author liulx
 */
public interface Source {

    String O_CONTRACT = "o_contract";

    /**
     * 往 MQ 推送消息，具体由合约中心订阅消费
     * 
     * @return
     */
    @Output(Source.O_CONTRACT)
    MessageChannel noticeContract();

}
